<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        form { position: relative; width: 300px; margin: 0 auto; }
        input, button { border: none; outline: none; }
        input { width: 100%; height: 42px; padding-left: 13px; }
        button { height: 44px; width: 44px; cursor: pointer; position: absolute; }
        input { border: 2px solid #7BA7AB; border-radius: 5px; background: #F9F0DA; color: #9E9C9C; }
        button { top: 2px; right: -17px; background: #7BA7AB; border-radius: 0 5px 5px 0; }
        button:before {content: "搜索"; font-size: 16px; color: #F9F0DA; }
    </style>
</head>
<body>
<table  width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
    <tr>
        <td colspan="7" height="40">
            <form action="/admin/select.htm" method="post">
                <input type="text" name="select" placeholder="请输入订单编号">
                <button type="submit"></button>
            </form>
        </td>
    </tr>
    <tr>
        <td align="left" width="15%" bgcolor="d3eaef" height="30"><div align="center"><span>订单编号</span></div></td>
        <td align="left" width="15%" height="30" bgcolor="d3eaef"><div align="center"><span>订单生成时间</span></div></td>
        <td align="left" width="10%" height="30" bgcolor="d3eaef"><div align="center"><span>买家名称</span></div></td>
        <td align="left" width="20%" height="30" bgcolor="d3eaef"><div align="center"><span>卖家公司名称</span></div></td>
        <td align="left" width="20%" height="30" bgcolor="d3eaef"><div align="center"><span>卖家联系方式</span></div></td>
        <td align="left" width="10%" height="30" bgcolor="d3eaef"><div align="center"><span>商品数量</span></div></td>
        <td align="left" width="10%" height="30" bgcolor="d3eaef"><div align="center"><span>订单状态</span></div></td>
    </tr>
    <tr th:each="m : ${list}">
        <td height="30" bgcolor="#FFFFFF"><div align="center"><span th:text="${m.orderId}"></span></div></td>
        <td height="30" bgcolor="#FFFFFF"><div align="center"><span th:text="${m.addtime}"></span></div></td>
        <td height="30" bgcolor="#FFFFFF"><div align="center"><span th:text="${m.username}"></span></div></td>
        <td height="30" bgcolor="#FFFFFF"><div align="center"><span th:text="${m.companyName}"></span></div></td>
        <td height="30" bgcolor="#FFFFFF"><div align="center"><span th:text="${m.orderNum}"></span></div></td>
        <td height="30" bgcolor="#FFFFFF"><div align="center"><span th:text="${m.phone}"></span></div></td>
        <td height="30" bgcolor="#FFFFFF"><div align="center"><span th:text="${m.orderState}"></span></div></td>
    </tr>
</table>
</body>
</html>